CameraPosition

Resembles the position, angle, zoom and tilt of the user's viewpoint.

Types

Link copied to clipboard
class Builder

Builder for composing CameraPosition objects.

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun describeContents(): Int

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compares this CameraPosition object with another CameraPosition and determines if their target, zoom, tilt, and bearing match.

Link copied to clipboard
open override fun hashCode(): Int

Gives an integer which can be used as the bucket number for storing elements of the set/map. This bucket number is the address of the element inside the set/map. There's no guarantee that this hash value will be consistent between different Java implementations, or even between different execution runs of the same program.

Link copied to clipboard
open override fun toString(): String

Returns a String with the camera target, zoom, bearing and tilt.

Link copied to clipboard
open override fun writeToParcel(out: Parcel, flags: Int)

Flatten this object in to a Parcel.

Properties

Link copied to clipboard

Direction that the camera is pointing in, in degrees clockwise from north.

Link copied to clipboard

Padding in pixels. Specified in left, top, right, bottom order. See Builder.padding for the definition of the camera's padding.

Link copied to clipboard

The location that the camera is pointing at.

Link copied to clipboard

The angle, in degrees, of the camera angle from the nadir (directly facing the Earth). See Builder.tilt for details of restrictions on the range of values.

Link copied to clipboard

Zoom level near the center of the screen. See Builder.zoom for the definition of the camera's zoom level.